home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / X11 / config / scoLib.tmpl < prev   
Text File  |  1995-07-17  |  4KB  |  151 lines

  1. XCOMM $XConsortium: scoLib.tmpl, sco$
  2.  
  3. /*
  4.  *    @(#) scoLib.tmpl 11.2 94/05/13 
  5.  * SCO shared library template
  6.  * 
  7.  * SCO Modification History 
  8.  * S012, 22-Jun-95, hops
  9.  *      revert XMULIB
  10.  * S012, 09-Sep-94, toma
  11.  *    redefine XMULIB. This is a dumb hack to get some EBL8 clients
  12.  *      built.  
  13.  * S011, 13-May-94, garyh
  14.  *    Up StaticSharedXlibRev to R5b (headerfile change from MS Tto USL)
  15.  * S010, 15-Jan-93, hess
  16.  *    use mkshlib from /bin 
  17.  * S009, 11-Nov-92, mikep
  18.  *    remove SharedLibrary defines from here.  It's too late by the
  19.  *    time this is included.
  20.  * M008, 21-Sep-92, hess
  21.  *     move mkshlib to top/cc, for now, until our build env catches up with
  22.  *     the tree.
  23.  * M007, 04-Aug-92, hess
  24.  *     use sharedlibs 
  25.  * M006, 02-Jun-92, hess
  26.  *    add MKSHLIBSRC 
  27.  * M005, 18-May-92, hess
  28.  *     add sharedxtrev 
  29.  * M004, 18-Mar-92, hess
  30.  *     add mcs command 
  31.  * M003, 17-Mar-92, hess
  32.  *    set MKSHLIB var to point to our local version 
  33.  * M002, 10-Feb-92, hess
  34.  *     add sharedxlibrev 
  35.  * M001, 30-Jan-92, hess
  36.  *     add MKSHLIB var. 
  37.  * M000, 10-Jan-92, hess
  38.  *     created, Note: not all these libs will exist.  
  39.  */
  40. SHLIBLDFLAGS = SharedLibraryLoadFlags
  41.     PICFLAGS = PositionIndependentCFlags
  42.      MKSHLIB = mkshlib
  43.          MCS = mcs -d
  44.  
  45. #ifndef SharedXlibRev
  46. #define SharedXlibRev 5.0
  47. #endif
  48. #ifndef StaticSharedXlibRev
  49. #define StaticSharedXlibRev R5b
  50. #endif
  51. #ifndef SharedXtRev
  52. #define SharedXtRev 5.0
  53. #endif
  54. #ifndef SharedXmuRev
  55. #define SharedXmuRev 5.0
  56. #endif
  57. #ifndef SharedXawRev
  58. #define SharedXawRev 5.0
  59. #endif
  60. #ifndef SharedXextRev
  61. #define SharedXextRev 5.0
  62. #endif
  63. #ifndef SharedXTestRev
  64. #define SharedXTestRev 1.0
  65. #endif
  66. #ifndef SharedXTrapRev
  67. #define SharedXTrapRev 1.0
  68. #endif
  69. #ifndef SharedPexRev
  70. #define SharedPexRev 1.0
  71. #endif
  72. #ifndef SharedFSRev
  73. #define SharedFSRev 5.0
  74. #endif
  75.  
  76. /*
  77.  * and now a little bit of magic for using imake without source tree; if we
  78.  * are using shared libraries, we really do not need to depend on anything
  79.  */
  80. #if SharedLibXext
  81.   DEPEXTENSIONLIB = /* _UseCat($(USRLIBDIR),$(EXTENSIONSRC)/lib,/libXext.sa.$(SOXEXTREV)) */
  82.      EXTENSIONLIB = _Use(-lXext,-L$(EXTENSIONSRC)/lib -lXext)
  83. #endif
  84. #if SharedLibX
  85.           DEPXLIB = $(DEPEXTENSIONLIB) _Use(,$(XLIBSRC)/libX11_s.a)
  86.              XLIB = $(EXTENSIONLIB) _Use(-lX11,-L$(XLIBSRC) -lX11)
  87. #endif
  88. #if SharedLibXmu
  89. /* SVR4 shared libraries are deficient in link semantics */
  90.         DEPXMULIB = /* _UseCat($(USRLIBDIR),$(XMUSRC),/libXmu.sa.$(SOXMUREV)) */
  91.        XMULIBONLY = _Use(-lXmu,-L$(XMUSRC) -lXmu)   
  92.            XMULIB = $(XMULIBONLY) -z nodefs 
  93.  
  94. #ifndef XawClientLibs
  95. #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
  96. #endif
  97. #endif
  98. #if SharedOldLibX
  99.        DEPOLDXLIB = /* _UseCat($(USRLIBDIR),$(OLDXLIBSRC),/liboldX.sa.$(SOOLDXREV)) */
  100.           OLDXLIB = _Use(-loldX_s,-L$(OLDXLIBSRC) -loldX_s)
  101. #endif
  102. #if SharedLibXt
  103.       DEPXTOOLLIB = /* _UseCat($(USRLIBDIR),$(TOOLKITSRC),/libXt.sa.$(SOXTREV)) */
  104.          XTOOLLIB = _Use(-lXt,-L$(TOOLKITSRC) -lXt)
  105. #endif
  106. #if SharedLibXaw
  107.         DEPXAWLIB = /* _UseCat($(USRLIBDIR),$(AWIDGETSRC),/libXaw.sa.$(SOXAWREV)) */
  108.            XAWLIB = _Use(-lXaw,-L$(AWIDGETSRC) -lXaw)
  109. #endif
  110. #if SharedLibXinput
  111.         DEPXILIB = /* _UseCat($(USRLIBDIR),$(XILIBSRC),/libXi.sa.$(SOXINPUTREV)) */
  112.            XILIB = _Use(-lXi,-L$(XILIBSRC) -lXi)
  113. #endif
  114.      XLIBARCHIVE = $(EXTENSIONLIB) _Use(-lX11,$(XLIBSRC)/libX11.a)
  115.  
  116. #define Help
  117. #define Help
  118.  
  119. /* libraries that deskworks, scoclients and xdt3 would like to share */
  120. #ifndef DragDropLib
  121. #define DragDropLib $(LIBSRC)/dragdrop/libdragdrop.a
  122. #endif
  123.  
  124. #ifndef ScoHelpLib
  125. #define ScoHelpLib $(LIBSRC)/bkr_help/libbkr_help.a
  126. #endif
  127.  
  128. #ifndef XoLibrary
  129. #define XoLibrary $(LIBSRC)/Xo/libXo.a
  130. #endif
  131.  
  132. #ifndef XpmLibrary
  133. #define XpmLibrary $(LIBSRC)/Xpm3/libXpm.a
  134. #endif
  135.  
  136.       STARTUPDIR = $(LIBDIR)/sco/startup
  137.           DNDLIB = DragDropLib
  138.            XBLIB = $(LIBSRC)/Xb/libXb.a
  139.            XOLIB = XoLibrary
  140.           XQPLIB = $(LIBSRC)/Xqp/libXqp.a
  141.          OSALLIB = $(LIBSRC)/osal/libosal.a 
  142.          HELPLIB = ScoHelpLib
  143.  
  144. #ifndef IXIClientLibs
  145. #define IXIClientLibs $(XBLIB) $(DNDLIB) $(XQPLIB) $(OSALLIB)
  146. #endif
  147.  
  148. #ifndef SCOClientLibs
  149. #define SCOClientLibs $(DNDLIB) $(HELPLIB) $(XOLIB) XmClientLibs
  150. #endif
  151.